package com.hex.liyue.commonmodule.utils;

import com.hex.liyue.LiYueApplication;

/**
 * Created by yukuo on 2016/5/2.
 */
public class ValuesUtils {
    /**
     * 获取颜色
     *
     * @return
     */
    public static int getColor(int id) {
        return LiYueApplication.getInstance().getResources().getColor(id);
    }

    /**
     * 获取字符串
     *
     * @param id
     * @return
     */
    public static String getString(int id) {
        return LiYueApplication.getInstance().getResources().getString(id);
    }

}
